using SmartSoft.DAL;
using System.Web.Services;
using System;
using System.Data;
using System.Data.SqlClient;



[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WSCDSLCKDataAccess : System.Web.Services.WebService
{
    private CDSLCKDataAccess objDataAccess = new CDSLCKDataAccess();
    public WSCDSLCKDataAccess()
    {
    }


    [WebMethod]
    public DataSet GetDataSet(string ps_Subsidiary, object pd_Ngay_Ct1, object pd_Ngay_Ct2)
    {
        object[] arr = Validator.Validate(pd_Ngay_Ct1, pd_Ngay_Ct2);
        return objDataAccess.GetDataSet(ps_Subsidiary, arr[0], arr[1]);
    }

    [WebMethod]
    public bool Save(string ps_Subsidiary, object pd_Ngay_Ct2, DataSet po_DataSet)
    {
        object[] arr = Validator.Validate(pd_Ngay_Ct2);
        return objDataAccess.Save(ps_Subsidiary, arr[0], po_DataSet);
    }
}